package com.five.taotao.util;

/**
 * Created by asus on 2016/11/8.
 * 各种常量定义
 */
public class Constants {
    //基础地址
    public static final String BASEURL = "http://123.206.64.192:8081/taotao/servlet/";
    //public static final String BASEURL = "http://192.168.1.119:8080/taotao/servlet/";


    //用户登录地址
    public static final String L_URL = BASEURL + "LoginServlet";
    //用户注册地址
    public static final String AU_URL = BASEURL + "UserServlet/AddUserByPhone";
    //分类商品地址
    public static final String C_URL = BASEURL + "ProductServlet/findProductByListId";
    //按销量排序
    public static final String SE_URL = BASEURL + "ProductServlet/listProductByStock";
    //按价格
    public static final String SP_URL = BASEURL + "ProductServlet/listProductByPrice";
    //根据名称搜索商品地址
    public static final String S_URL = BASEURL + "ProductServlet/findProductByName";
    //添加商品到购物车地址
    public static final String AC_URL = BASEURL + "ShoppingCarServlet/AddShoppingCar";
    //查询购物车地址
    public static final String SD_URL = BASEURL + "ShoppingCarServlet/deleteCar";
    //查询购物车地址
    public static final String SC_URL = BASEURL + "ShoppingCarServlet/findShoppingCarById";
    //订单查询请求地址
    public static final String O_URL = BASEURL + "OrderServlet/findAllOrderByUserid";
    //订单增加地址
    public static final String OA_URL = BASEURL + "OrderServlet/addOrder";
    //
    public static final String OML_URL = BASEURL + "OrderServlet/addMultiOrder";
    //订单删除地址
    public static final String OD_URL = BASEURL + "OrderServlet/deleteOrder";



}